package com.scott.ch04;

import com.scott.ch04.service.StudentService;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * 演示@ComponentScan注解的第4层心法
 */
@Configuration
@ComponentScan(value = "com.scott.ch04",useDefaultFilters=false,includeFilters ={
    @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE,classes={StudentService.class})
})
public class ScottConfiguration {
}
